/*
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
* Description: Adaptation function for liteos
* Author: HiMobileCam middleware develop team
* Create: 2017-12-22
*/

#include <math.h>

long int lrintf(float x)
{
    return (int)(rint(x));
}

long int lrint(double x)
{
    return rint(x);
}
